﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace EnCor.Logging
{
    public class BaseLogManager
    {
        public static ILog GetLogger(string loggerName)
        {
            List<ILogAppender> loggers = new List<ILogAppender>()
            {
                new FileLogAppender(Path.Combine(Runtime.ExecutePath, "encor.log"))
            };
            return new LoggerWraper(loggers);
        }
    }
}
